package com.ctshk.rpc.order.custom.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 游客退款记录
 * </p>
 *
 * @author 叶冠峰
 * @since 2021-02-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_customized_order_tourist_refund")
@ApiModel(value="CustomizedOrderTouristRefund对象", description="游客退款记录")
public class CustomizedOrderTouristRefund extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单ID")
    private Long orderId;

    @ApiModelProperty(value = "团期ID")
    private Long scheduleId;

    @ApiModelProperty(value = "游客ID")
    private Long touristId;

    @ApiModelProperty(value = "退款单号")
    private String refundNumber;

    @ApiModelProperty(value = "退款状态（2：审批中，3：审批通过，4：审批不通过，5：已退款）")
    private Integer refundStatus;

    @ApiModelProperty(value = "审批ID")
    private Long approvalId;

    @ApiModelProperty(value = "实收金额")
    private BigDecimal receivedAmount;

    @ApiModelProperty(value = "退款金额")
    private BigDecimal refundAmount;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;


}
